package com.knowledge.review.designPatterns.creatormode.factorypattern.abstractfactory;

/**
 * @author XFW
 * @date 2024/5/6 14:27
 * @Description 华为电子工厂
 **/
public class HwElectronicsFactory implements ElectronicsAbstractFactory {
    @Override
    public AbstractPhone createPhone() {
        return new HwPhone();
    }
 
    @Override
    public AbstractNoteBook createNoteBook() {
        return new HwNoteBook();
    }
}
 